let x =
    [ 1; 2; 3; 4; 5; 6 ]
    |> List.groupBy (fun i -> i / 2)
    |> List.toSeqz

()
